package com.cimu.qiniu.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 云存储配置信息
 *
 * @date 2017-03-25 16:12
 */
@Data
@Component
@ConfigurationProperties(prefix = "qiniu")
public class QiNiuProperties implements Serializable {

    private static final long serialVersionUID = -4680088542578380398L;

    //七牛绑定的域名
    private String domain;
    //七牛路径前缀
    private String prefix;
    //七牛ACCESS_KEY
    private String accessKey;
    //七牛SECRET_KEY
    private String secretKey;
    //七牛存储空间名
    private String bucketName;

}
